from page import Page
import unittest,time
from selenium import webdriver


class Case(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Edge()
        self.driver.maximize_window()


    def tearDown(self):
        time.sleep(5)
        self.driver.quit()

    def test_baidu_01(self):
        po = Page(self.driver)
        po.luoji()

if __name__ == '__main__':
    unittest.main()